
<template>
  <div class="goods-list">
    <goods-item v-for=" (v,i) in  goods" :goods-item='v' :key='i' />
  </div>
</template>

<script>
import GoodsItem from './GoodsListItem'
export default {
  components: { GoodsItem },
  props: {
    goods: {
      type: Array,
      default() {
        return {}
      }
    }
  }
}
</script>

<style scoped>
.goods-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 2px;
}
</style>